package com.zsyh.changshang.bean;



import com.zsyh.changshang.basic.BaseResult;

import java.util.List;

/**
 * @author liangwanbo
 * @date 2018/3/1
 */
public class PrivicesBean extends BaseResult {


    /**
     * success : true
     * errorCode : 0
     * msg : null
     * data : [{"id":"110000","areaName":"北京","areaCode":"Beijing","areaParentId":"100000","areaLevel":"1"},{"id":"120000","areaName":"天津","areaCode":"Tianjin","areaParentId":"100000","areaLevel":"1"},{"id":"130000","areaName":"河北省","areaCode":"Hebei","areaParentId":"100000","areaLevel":"1"},{"id":"140000","areaName":"山西省","areaCode":"Shanxi","areaParentId":"100000","areaLevel":"1"},{"id":"150000","areaName":"内蒙古自治区","areaCode":"Inner Mongolia","areaParentId":"100000","areaLevel":"1"},{"id":"210000","areaName":"辽宁省","areaCode":"Liaoning","areaParentId":"100000","areaLevel":"1"},{"id":"220000","areaName":"吉林省","areaCode":"Jilin","areaParentId":"100000","areaLevel":"1"},{"id":"230000","areaName":"黑龙江省","areaCode":"Heilongjiang","areaParentId":"100000","areaLevel":"1"},{"id":"310000","areaName":"上海","areaCode":"Shanghai","areaParentId":"100000","areaLevel":"1"},{"id":"320000","areaName":"江苏省","areaCode":"Jiangsu","areaParentId":"100000","areaLevel":"1"},{"id":"330000","areaName":"浙江省","areaCode":"Zhejiang","areaParentId":"100000","areaLevel":"1"},{"id":"340000","areaName":"安徽省","areaCode":"Anhui","areaParentId":"100000","areaLevel":"1"},{"id":"350000","areaName":"福建省","areaCode":"Fujian","areaParentId":"100000","areaLevel":"1"},{"id":"360000","areaName":"江西省","areaCode":"Jiangxi","areaParentId":"100000","areaLevel":"1"},{"id":"370000","areaName":"山东省","areaCode":"Shandong","areaParentId":"100000","areaLevel":"1"},{"id":"410000","areaName":"河南省","areaCode":"Henan","areaParentId":"100000","areaLevel":"1"},{"id":"420000","areaName":"湖北省","areaCode":"Hubei","areaParentId":"100000","areaLevel":"1"},{"id":"430000","areaName":"湖南省","areaCode":"Hunan","areaParentId":"100000","areaLevel":"1"},{"id":"440000","areaName":"广东省","areaCode":"Guangdong","areaParentId":"100000","areaLevel":"1"},{"id":"450000","areaName":"广西壮族自治区","areaCode":"Guangxi","areaParentId":"100000","areaLevel":"1"},{"id":"460000","areaName":"海南省","areaCode":"Hainan","areaParentId":"100000","areaLevel":"1"},{"id":"500000","areaName":"重庆","areaCode":"Chongqing","areaParentId":"100000","areaLevel":"1"},{"id":"510000","areaName":"四川省","areaCode":"Sichuan","areaParentId":"100000","areaLevel":"1"},{"id":"520000","areaName":"贵州省","areaCode":"Guizhou","areaParentId":"100000","areaLevel":"1"},{"id":"530000","areaName":"云南省","areaCode":"Yunnan","areaParentId":"100000","areaLevel":"1"},{"id":"540000","areaName":"西藏自治区","areaCode":"Tibet","areaParentId":"100000","areaLevel":"1"},{"id":"610000","areaName":"陕西省","areaCode":"Shaanxi","areaParentId":"100000","areaLevel":"1"},{"id":"620000","areaName":"甘肃省","areaCode":"Gansu","areaParentId":"100000","areaLevel":"1"},{"id":"630000","areaName":"青海省","areaCode":"Qinghai","areaParentId":"100000","areaLevel":"1"},{"id":"640000","areaName":"宁夏回族自治区","areaCode":"Ningxia","areaParentId":"100000","areaLevel":"1"},{"id":"650000","areaName":"新疆维吾尔自治区","areaCode":"Xinjiang","areaParentId":"100000","areaLevel":"1"},{"id":"710000","areaName":"台湾","areaCode":"Taiwan","areaParentId":"100000","areaLevel":"1"},{"id":"810000","areaName":"香港特别行政区","areaCode":"Hong Kong","areaParentId":"100000","areaLevel":"1"},{"id":"820000","areaName":"澳门特别行政区","areaCode":"Macau","areaParentId":"100000","areaLevel":"1"},{"id":"900000","areaName":"钓鱼岛","areaCode":"DiaoyuDao","areaParentId":"100000","areaLevel":"1"}]
     */

    private String success;
    private String errorCode;
    private Object msg;
    private List<DataBean> data;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean extends BaseResult{
        /**
         * id : 110000
         * areaName : 北京
         * areaCode : Beijing
         * areaParentId : 100000
         * areaLevel : 1
         */

        private String id;
        private String areaName;
        private String areaCode;
        private String areaParentId;
        private String areaLevel;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }

        public String getAreaCode() {
            return areaCode;
        }

        public void setAreaCode(String areaCode) {
            this.areaCode = areaCode;
        }

        public String getAreaParentId() {
            return areaParentId;
        }

        public void setAreaParentId(String areaParentId) {
            this.areaParentId = areaParentId;
        }

        public String getAreaLevel() {
            return areaLevel;
        }

        public void setAreaLevel(String areaLevel) {
            this.areaLevel = areaLevel;
        }
    }
}
